home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 December / 12_02.iso / macos / pack1 / files / acdsee-mac.hqx / ACDSee 1.6.5 En Share Inst / ACDSee™ / ACDSee™.rsrc / TEXT_1005_Open URL To Web Site.txt < prev    next >
Encoding:
Text File  |  2001-11-02  |  667 b   |  20 lines

  1. set brokenLinkDlogText to "To automatically link to the webyou must have a default browser selected in Internet Config."
  2.     set webBrowserWarning to "Would you like to open your Web browser and connect to the Internet?"
  3.     set continueBtn to "Continue"
  4.     set cancelBtn to "Cancel"
  5.     
  6.     tell application "Finder"
  7.         activate
  8.         display dialog webBrowserWarning buttons {cancelBtn, continueBtn} default button 2
  9.         set launchbrowser to button returned of result
  10.         if launchbrowser is "Continue" then
  11.             try
  12.                 open location "www.ACDSystems.com"
  13.             on error
  14.                 beep
  15.                 display dialog brokenLinkDlogText(cancelBtn) default button 1
  16.             end try
  17.         else
  18.             return
  19.         end if
  20.     end tell